package chap3;
import java.util.Scanner;
public class Task2 {
    public static void main(String[] args) {
        Scanner number=new Scanner(System.in);
        System.out.print("输入一个整数:");
        int a=number.nextInt()%2;
        boolean b=a==0;
        System.out.println("整数是偶数吗?"+b);

    }
}
